package com.leyou.item.service;

import com.leyou.item.pojo.Category;

import java.util.List;

public interface CategoryService {

    List<Category> findListCategory(Long pid);

    int addCategory(Category category);

    int delete(Long id);

    int editCategoryByParent(Category category);

    List<Category> findByBrandId(Long bid);

    List<String> queryNameByIds(List<Long> ids);

    List<Category> queryListByParent(Long pid);

    List<Category>  queryAllCategory();

    List<Category> queryCategoryByIds(List<Long> ids);

    List<Category> queryAllByCid3(Long id);


}
